/*
 * @Descripttion:
 * @version:
 * @Date: 2021-04-21 09:18:32
 * @LastEditors: huzhushan@126.com
 * @LastEditTime: 2022-09-27 18:51:35
 * @Author: huzhushan@126.com
 * @HomePage: https://huzhushan.gitee.io/vue3-element-admin
 * @Github: https://github.com/huzhushan/vue3-element-admin
 * @Donate: https://huzhushan.gitee.io/vue3-element-admin/donate/
 */
const Layout = () => import('@/layout/index.vue')
//导入组件
const Automatic = () => import('@/views/vehicle/Automatic.vue')
const Track = () => import('@/views/vehicle/Track.vue')
const Report = () => import('@/views/vehicle/Report.vue')
const Statistics = () => import('@/views/vehicle/Statistics.vue')
const Yuyue = () => import('@/views/vehicle/Yuyue.vue')
//注意事项：必须保证路由的name属性值是唯一的
export default [
  {
    path: '/vehicle',
    component: Layout,
    name: 'vehicle',
    meta: {
      title: '车检流程管理',
    },
    icon: 'Location',
    children: [
      {
        path: '/automatic',
        name: 'automatic',
        component: Automatic,
        meta: {
          title: '车牌自动获取及登记',
        },
      },
      {
        path: '/track',
        name: 'track',
        component: Track,
        meta: {
          title: '车检流程跟踪',
        },
      },
      {
        path: '/report',
        name: 'report',
        component: Report,
        meta: {
          title: '结果报告生成',
        },
      },
      {
        path: '/statistics',
        name: 'statistics',
        component: Statistics,
        meta: {
          title: '数据统计分析',
        },
      },
      {
        path: '/yuyue',
        name: 'yuyue',
        component: Yuyue,
        meta: {
          title: '车检预约',
        },
      },
    ],
  },
]
